// 状态管理
import { createPinia} from 'pinia'

//. 持久化
import presist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(presist)

export default pinia
// 导出user,简化路径
export * from './modules/user'
export * from './modules/secret'

